package d1030;

public class Test {
    public static void main(String[] args) {
        Student stu1=new Student("张三",20,"20101","201");
        stu1.study();
        stu1.show();
        //父类，按照原来的方式调用
        Person p=new Person ("李四",30);
        p.show();
        Teacher teacher=new Teacher("孔子");
        teacher.show();













    }
}
